home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
plugins
/
nowplaying
/
wmp.pyo
(
.txt
)
< prev
Wrap
Python Compiled Bytecode
|
2008-10-13
|
896b
|
30 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
from comtypes.client import CreateObject
from gui.native.win.process import process_list
WMP_PROCESS_NAME = 'wmplayer.exe'
def currentSong(processes):
if processes is None:
processes = process_list()
if WMP_PROCESS_NAME not in processes:
return None
wmp = CreateObject('WMPlayer.OCX')
def main():
clock = clock
import time
pprint = pprint
import pprint
before = clock()
pprint(currentSong())
print 'took', clock() - before
if __name__ == '__main__':
main()